
const vueConstructorData={
    v: 13.1,
    s: 11.55,
    i: 0,
    k1:0,
    k2:0,
    async mounted() {
        window.V=this;
    },
}

window.onload =async function () {
    PetiteVue.createApp(vueConstructorData).mount("#main");
}

const source = new EventSource("http://localhost:7001/event1");
source.onmessage = function (e) {
   eval("V."+e.data);
}

